ensure invalid file names are reported for files that are not ignored
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Thu, 6 Mar 2025 13:48:46 +0000 (14:48 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Wed, 12 Mar 2025 14:12:50 +0000 (15:12 +0100)
commit33834b83c65fb8daee2142b19dafacc90423da7d
tree06d8fb76a89fe706925134deb854020578d8c881
parentd212df70fe76a5fb24fed263b86a496f9465acdc
ensure invalid file names are reported for files that are not ignored

we currently notify invalid file names for files that the sync engine
will not upload because they are ignored for other reasons (selective
sync for example)

let's first check if the file is ignored and only if the file would be
uploaded, we can check the file name validity

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/libsync/discovery.cpp